namespace Auth.Result
{
    /// <summary>
    /// API结果状态码
    /// </summary>
    public enum ResultCode
    {
        /// <summary>
        /// 成功
        /// </summary>
        Success = 200,

        /// <summary>
        /// 失败
        /// </summary>
        Fail = 400,

        /// <summary>
        /// 未授权
        /// </summary>
        Unauthorized = 401,

        /// <summary>
        /// 禁止访问
        /// </summary>
        Forbidden = 403,

        /// <summary>
        /// 未找到
        /// </summary>
        NotFound = 404,

        /// <summary>
        /// 服务器错误
        /// </summary>
        ServerError = 500
    }
} 